package com.ziq.zcamp.extension

import kotlinx.coroutines.flow.SharedFlow


inline fun <reified T> SharedFlow<T>.getValue() : T? {
    if(replayCache.isNotEmpty()){
        return replayCache[0]
    }
    return null
}